import {createApp} from "vue";
import App from "@/App.vue";
import router from "@/router/index.js";
import store from "@/store/index.js";

import * as ElementPlusIconsVue from '@element-plus/icons-vue';

// 引入css
import "element-plus/dist/index.css";
import "@/assets/font/iconfont.css";
import "@/assets/css/index.css";
import "@/assets/css/theme.css";
import "@/assets/css/animation.css";
import "@/assets/css/style.css";
import "@/assets/css/tocbot.css";
import "@/assets/css/color.css";
// import "@/assets/css/stand.css";  // 默哀模式
// 引入js
import "@/assets/font/iconfont.js";
import "@/utils/index.js";
import "@/utils/live2d.js";

const app = createApp(App);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component);
}

app.use(router);
app.use(store);

app.mount('#app');